package com.jinsp.hotfix;

import dalvik.system.PathClassLoader;

/**
 * Created by luoshuai on 1/6/22
 * <p>
 * 自定义类加载器替换应用类加载器
 */
public class CodeFixClassLoader extends PathClassLoader {

    public CodeFixClassLoader(String dexPath, String librarySearchPath, ClassLoader parent) {
        super(dexPath, librarySearchPath, parent);
    }

    @Override
    protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException {
        return super.loadClass(name, resolve);
    }
}
